﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="modify_basic.aspx.cs" Inherits="lcmyjobs.Web.users.modify_basic" %>

<%@ Register Src="../Controls/TopUserJobsNavigation.ascx" TagName="TopUserJobsNavigation"
    TagPrefix="uc1" %>
<%@ Register Src="../Controls/UserManageLeft.ascx" TagName="UserManageLeft" TagPrefix="uc2" %>
<%@ Register Src="../Controls/Bottom1.ascx" TagName="Bottom1" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>个人管理中心-我的简历</title>
    <link href="../css/css1.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/css.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .btn
        {
        	background-image:url('../qimg/djbaocun.gif');
        	border:0;
        	width:105px;
        	height:30px;
        }
        .ltgju{ margin-left:10px;}
        
    </style>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/drag.js" type="text/javascript"></script>
    <script src="../Scripts/city_arr.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <script src="../Scripts/city_func.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(function () { $(".grgl_ul li a").eq(1).addClass("activ_n"); });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="lo_wrap">
        <uc1:TopUserJobsNavigation ID="TopUserJobsNavigation1" runat="server" />
        <div class="zgzt_img">
            <img src="../qimg/zgzt_img.jpg" alt="找工作？就来聊城就业网！" width="950" height="70" />
        </div>
        <div class="syd_dhk">
            欢迎您：<asp:Label ID="lblName" runat="server"></asp:Label>，来到您的个人管理中心
        </div>
        <div class="ny_center" style="margin-top: 5px;">
            <uc2:UserManageLeft ID="UserManageLeft1" runat="server" />
            <div class="grgl_right">
                <div class="grgl_jbzl">
                    <p class="jbzl_zhuc_ls">
                       <a href="modify_basic.html"><span>基本资料&bull;联系方式</span></a> | <a href="modify_edu.html">教育背景&bull;工作经验</a>
                        | <a href="user_job.html">求职意向</a> |  <asp:HyperLink ID="HyperLink1" runat="server">简历预览</asp:HyperLink></p>
                <div class="xinxi_zc">
					<div class="jbxx_lr_ls">基本信息</div>
					<table border="0" cellpadding="0" cellspacing="0" class="jbzl_tab_ls">
						<tr>
							<td class="red_td" width="10">*</td>
							<td width="290">您的姓名：  <asp:TextBox ID="txttruename" runat="server" Width="120px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txttruename"
                        ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></td>
							<td class="qys_td" width="360">如果不愿意公开姓名，建议以 您的姓氏 加 先生或女士 填写此信息</td>
						</tr>
						<tr>
							<td class="red_td">*</td>
							<td>姓　　别：  <asp:RadioButton ID="rbtMan" runat="server" Checked="True" Text=" 男" GroupName="sex" /> &nbsp; &nbsp;
                    <asp:RadioButton ID="rbtWomen" runat="server" Text=" 女" GroupName="sex" /></td>
							<td class="qys_td"></td>
						</tr>
						<tr>
							<td class="red_td">*</td>
							<td>年　　龄：   <asp:TextBox ID="txtage" runat="server" Width="38px"></asp:TextBox>&nbsp;岁
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtage" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                            <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtage" ErrorMessage="RangeValidator" MaximumValue="100" MinimumValue="10" Type="Integer">10－100之间</asp:RangeValidator></td>
							<td class="qys_td"></td>
						</tr>
						<tr>
							<td class="red_td">*</td>
							<td>身　　高：  <asp:TextBox ID="txtheight" runat="server" Width="38px"></asp:TextBox>&nbsp;CM
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtheight" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                            <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="txtheight" ErrorMessage="RangeValidator" MaximumValue="250" MinimumValue="50" Type="Integer">50－250之间</asp:RangeValidator>
                            </td>
							<td class="qys_td"></td>
						</tr>
						<tr>
							<td class="red_td">*</td>
							<td>户　　籍：  <asp:TextBox ID="txthuji" runat="server" Width="120px" onclick="hukouSelect()" ></asp:TextBox>
                                           <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txthuji" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                                           <asp:HiddenField ID="hfhuji" runat="server" /></td>
							<td class="qys_td"></td>
						</tr>
						<tr>
							<td class="red_td">*</td>
							<td>目前居住：  <asp:TextBox ID="txtaddress" runat="server" Width="120px" 
                                                onclick="residencySelect()" ></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                                                ControlToValidate="txtaddress" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                                            <asp:HiddenField ID="hfaddress" runat="server" /></td>
							<td class="qys_td"></td>
						</tr>
					</table>
					<div class="jbxx_lr_ls">联系方式</div>
					<table border="0" cellpadding="0" cellspacing="0" class="jbzl_tab_ls">
						<tr>
							<td class="red_td" width="10">*</td>
							<td width="290"> 邮　　箱： <asp:TextBox ID="txtemail" runat="server" Width="120px" 
                                                            onblur="javascript:checkemail(this);"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtemail"
                                                            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtemail"
                                                            ErrorMessage="RegularExpressionValidator" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">地址不合法</asp:RegularExpressionValidator>
                                                        <div id="myemail" style="float: left">
                                                        </div>
                                                        <asp:HiddenField ID="hfemail" runat="server" /></td>
							<td class="qys_td" width="360">
                            <span style="color:#ff6600;">重要！</span>请输入您的常用邮箱，它将是您重置密码的唯一依据
							</td>
						</tr>
						<tr>
							<td class="red_td">*</td>
							<td>手　　机：  <asp:TextBox ID="txtphone" runat="server" Width="120px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtphone"
                                                ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="txtphone"
                                                ErrorMessage="RegularExpressionValidator" ValidationExpression="\d{11}">格式不对</asp:RegularExpressionValidator></td>
							<td class="qys_td">请填写能够联系到您本人的手机号码，不要填写家庭或宿舍固定电话，以防诈骗
							</td>
						</tr>
						<tr>
							<td class="red_td"></td>
							<td><asp:RadioButton ID="rbtQQ" runat="server" Text=" QQ" GroupName="l" onclick="showline(this)" />
                    <asp:TextBox ID="txtonlinecontact" runat="server" Width="80px" CssClass="ltgju"></asp:TextBox> </td>
							<td class="qys_td">非必填项！您愿意公开在线联系方式，注意求职风险！
							</td>
						</tr>
						
					</table>
					<div class="xiayibu">
						<asp:Button ID="btnedu" runat="server"  CssClass="btn" onclick="btnedu_Click"  onclientclick="" />
					</div>
					</div>
                </div>
            </div>
        </div>
        <uc3:Bottom1 ID="Bottom11" runat="server" />
    </div>
    <div style="DISPLAY: none" id="maskLayer"><iframe 
        style="filter: alpha(opacity=50)" id="maskLayer_iframe" src="about:blank" 
        frameBorder="0" scrolling="no"></iframe >
        <div style="filter: alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5" 
        id="alphadiv"></div>
        <div id="drag">
        <h3 id="drag_h"></h3>
        <div id="drag_con"></div><!-- drag_con end --></div></div><!-- maskLayer end -->
        <div></div><!-- alpha div end -->
        <div style="display: none" id="sublist"></div>
        <script language="javascript" type="text/javascript">
            $().ready(function () { if ($("#txtonlinecontact").val() == "") $("#txtonlinecontact").hide(); })
            function showline(val) {
                if ($(val).attr("checked"))
                    $("#txtonlinecontact").show();
            }
            function checkname(val) {

                var uname = val.value;
                reg = /^[0-9A-Za-z_]{8,20}$/;
                if (reg.test(uname))
                    $.ajax({ type: "POST", url: "checkname.aspx", data: "name=" + uname + "&t=1", success: function (msg) { if (msg == "0") { $("#mymsg").html("该用户名已被使用，请使用其它用户名！"); $("#txtname").val(""); alert("该用户名已被使用，请使用其它用户名！"); $("#txtname").focus(); } else { $("#mymsg").html(""); } }, error: function (XMLResponse) { alert(XMLResponse.responseText) } });

            }
            function checkemail(val) {
                if (val.value != $("#<%= hfemail.ClientID%>").val()) {
                    var uname = val.value;
                    reg = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
                    if (reg.test(uname))
                        $.ajax({ type: "POST", url: "checkname.aspx", data: "name=" + uname + "&t=0", success: function (msg) { if (msg == "0") { $("#myemail").html("该邮箱已被使用，请使用其它用户名！"); $("#txtemail").val(""); alert("该用户名已被使用，请使用其它邮箱！"); $("#email").focus(); } else { $("#myemail").html(""); } }, error: function (XMLResponse) { alert(XMLResponse.responseText) } });
                }
            }

            // 是否在数组内
            function in_array(needle, haystack) {
                if (typeof needle == 'string' || typeof needle == 'number') {
                    for (var i in haystack) {
                        if (haystack[i] == needle) {
                            return true;
                        }
                    }
                }
                return false;
            }
            </script>
    </form>
</body>
</html>
